#include "racefactory.h"

#include <cassert>
#include <iostream>


Race* RaceFactory::createRace(const QDomElement& element) const {
	assert(!element.isNull());
	assert(element.tagName()==race);
	
	Race* race = new Race(element);
	return race;
}